<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li class="active">百万冲十亿获取列表</li>
  </ol>
  <form class="form-inline search-box" role="form" ng-submit="search()" novalidate>

    <div class="form-group">
      <input type="text" class="form-control" placeholder="登录名" ng-model="searchMap.userName" style="width:140px;">
    </div>   
    
    <div class="form-group">
      <select class="form-control" placeholder="获奖类型" ng-model="searchMap.winType" ng-options="m.value as m.text for m in dictMap.m2bWinTypeModel" ><option value="">--获奖类型--</option></select> 
    </div> 
    
    <div class="form-group">
      <label>完成日期</label>
      <input type="date" class="form-control" placeholder="完成开始日期,如2015-01-01" ng-model="searchMap.winDateStart" maxlength="10">
    </div> 

    <div class="form-group">
      <input type="date" class="form-control" placeholder="完成结束日期,如2015-01-01" ng-model="searchMap.winDateEnd" maxlength="10">
    </div> 


    <button type="submit" class="btn btn-primary">查询</button>
  </form>
  <table class="table table-striped table-hover">
    <thead>
      <tr>
        <th width="120">登录名</th>
        <th width="180">获奖类型</th>
        <th width="120">完成时间</th> 
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="item in list">
        <td><a href="#/fa/view?id={{item.userId}}">{{item.userName}}</a></td>
        <td class="m2b-win-{{item.winType}}">{{item.winType | m2bWinTypeRender}}</td>
        <td>{{item.createDate | date:'yyyy-MM-dd HH:mm:ss'}}</td> 
      </tr>
    </tbody>
  </table>

	<div class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="list.length > 0"></div>
</div>
